<?php
namespace app\admin\controller;
use think\Controller;
class Base extends Controller
{
    protected function _initialize()
    {
        $this->init();
    }
    private function init(){
        if(session("proxy")==null)
        {
            $this->redirect('Member/login');
        }
        $this->proxy=session("proxy");
        $this->assign('proxy',$this->proxy);
        $this->assign("url",request()->url());
        $this->assign("msg","");
    }
}
